package com.wangmei.mapper;

import com.wangmei.model.Orderdetail;
import com.wangmei.model.OrderdetailExample;
import com.wangmei.pojo.OrderDetailPojo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface OrderdetailMapper {
    int countByExample(OrderdetailExample example);

    int deleteByExample(OrderdetailExample example);

    int deleteByPrimaryKey(Integer detailid);

    int insert(Orderdetail record);

    int insertSelective(Orderdetail record);

    List<Orderdetail> selectByExample(OrderdetailExample example);

    Orderdetail selectByPrimaryKey(Integer detailid);

    int updateByExampleSelective(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

    int updateByExample(@Param("record") Orderdetail record, @Param("example") OrderdetailExample example);

    int updateByPrimaryKeySelective(Orderdetail record);

    int updateByPrimaryKey(Orderdetail record);

    int deleteByPrimaryKeyString(String keyString);

    List<OrderDetailPojo> selectBuyCart(String oid);
    int insertValueString(String value);
    int deletebyKeys(String values);

    List<OrderDetailPojo> selectByOid(Map map);

    int deletePay(Map map);
    List<Orderdetail> seletBykuid(Map map);
}